using System.ComponentModel.DataAnnotations.Schema;

namespace Lzfy_Refund_Service.Models
{
    /// <summary>
    /// 门诊患者就诊信息模型
    /// </summary>
    public class OutpPatientVisit
    {
        /// <summary>
        /// 门诊就诊ID
        /// </summary>
        public string OUTP_VISIT_ID { get; set; } = string.Empty;

        /// <summary>
        /// 患者ID
        /// </summary>
        public string PATIENT_ID { get; set; } = string.Empty;

        /// <summary>
        /// 患者姓名
        /// </summary>
        public string PATI_NAME { get; set; } = string.Empty;

        /// <summary>
        /// 门诊专科名称
        /// </summary>
        public string OUTP_SPECIAL_NAME { get; set; } = string.Empty;

        /// <summary>
        /// 门诊日期
        /// </summary>
        public DateTime? OUTP_DATE { get; set; }

        /// <summary>
        /// 就诊ID
        /// </summary>
        public string VISIT_ID { get; set; } = string.Empty;

        /// <summary>
        /// 接诊医生
        /// </summary>
        public string ADMISSION_DOCTOR { get; set; } = string.Empty;

        /// <summary>
        /// 医生与门诊就诊ID组合键（用作Redis Key）
        /// </summary>
        public string DOCTOR_VS_OUTP_VISIT_ID { get; set; } = string.Empty;

        /// <summary>
        /// 二维码
        /// </summary>
        public string? QR_CODE { get; set; }

        /// <summary>
        /// 挂号费状态
        /// </summary>
        public string REGISTRATION_FEE_STATUS { get; set; } = string.Empty;

        /// <summary>
        /// 患者级别
        /// </summary>
        public string? PAT_LEVEL { get; set; }

        /// <summary>
        /// 检验数量
        /// </summary>
        public string? LIS_COUNT { get; set; }

        /// <summary>
        /// 检查数量
        /// </summary>
        public string? EXAM_COUNT { get; set; }

        /// <summary>
        /// 阅读标志
        /// </summary>
        public string READ_FLAG { get; set; } = string.Empty;

        /// <summary>
        /// 医嘱名称列表
        /// </summary>
        public string? ORDER_NAMES { get; set; }
    }
}